package com.zndroid.timePicker.impl;


import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import static com.zndroid.timePicker.impl.PickerType.ALL;
import static com.zndroid.timePicker.impl.PickerType.COMMON;
import static com.zndroid.timePicker.impl.PickerType.YMD;
import static com.zndroid.timePicker.impl.PickerType.MD;
import static com.zndroid.timePicker.impl.PickerType.HM;
import static com.zndroid.timePicker.impl.PickerType.HMS;

@IntDef({ALL, COMMON, YMD, MD, HM, HMS})
@Retention(RetentionPolicy.SOURCE)
public @interface PickerType {
    int ALL = 0x00;//年-月-日-时-分-秒
    int COMMON = 0x01;//年-月-日-时-分
    int YMD = 0x02;//年-月-日
    int MD = 0x03;//月-日
    int HM = 0x04;//时-分
    int HMS = 0x05;//时-分-秒
}
